/********************************************************************
  Copyright by PCI, 2002-10-08
  File Name: db_ppm_prod_operate_flow_his.cxx
  Created Date: 2002-10-08 
  Author: Machine
  Version: 1.0 
  Last Version Date: 
  Version Date:
*******************************************************************/
/********************************************************************
  Copyright by PCI, 2002-10-08
  Class Name: CTable_PPM_PROD_OPERATE_FLOW_HIS
  Created Date: 2002-10-08 
  Author: Machine
  Defined File: db_ppm_prod_operate_flow_his.hxx
  Last Version Date: 
  Version Date:
*******************************************************************/
#include "table_ppm.h"

CTable_PPM_PROD_OPERATE_FLOW_HIS::CTable_PPM_PROD_OPERATE_FLOW_HIS( )
 :NPCRecordSet( )
{
  setTableName( "PPM_PROD_OPERATE_FLOW_HIS" );
  prepareTable();
  prepareQuery();
 
  HIS_ID.setField( "HIS_ID", DATA_CHAR, 30, 0 );
  makeTableItem( HIS_ID );
  ID.setField( "ID", DATA_CHAR, 30, 0 );
  makeTableItem( ID );
  NAME.setField( "NAME", DATA_CHAR, 1024, 0 );
  makeTableItem( NAME );
  IS_NEW.setField( "IS_NEW", DATA_CHAR, 6, 0 );
  makeTableItem( IS_NEW );
  REMARK.setField( "REMARK", DATA_CHAR, 2048, 0 );
  makeTableItem( REMARK );
  TYPE.setField( "TYPE", DATA_CHAR, 6, 0 );
  makeTableItem( TYPE );
  PARAMETER.setField( "PARAMETER", DATA_CHAR, 2048, 0 );
  makeTableItem( PARAMETER );
  PARAMETER_DOC.setField( "PARAMETER_DOC", DATA_CHAR, 1024, 0 );
  makeTableItem( PARAMETER_DOC );
  SEND_RULE.setField( "SEND_RULE", DATA_CHAR, 2048, 0 );
  makeTableItem( SEND_RULE );
  SEND_RULE_DOC.setField( "SEND_RULE_DOC", DATA_CHAR, 1024, 0 );
  makeTableItem( SEND_RULE_DOC );
  DISTRIBUTE_RULE.setField( "DISTRIBUTE_RULE", DATA_CHAR, 2048, 0 );
  makeTableItem( DISTRIBUTE_RULE );
  DISTRIBUTE_RULE_DOC.setField( "DISTRIBUTE_RULE_DOC", DATA_CHAR, 1024, 0 );
  makeTableItem( DISTRIBUTE_RULE_DOC );
  PRINT_FLAG.setField( "PRINT_FLAG", DATA_CHAR, 6, 0 );
  makeTableItem( PRINT_FLAG );
  PRINT_DOC.setField( "PRINT_DOC", DATA_CHAR, 1024, 0 );
  makeTableItem( PRINT_DOC );
  FUNCTION.setField( "FUNCTION", DATA_CHAR, 1024, 0 );
  makeTableItem( FUNCTION );
  EXCEPTION_NAME.setField( "EXCEPTION_NAME", DATA_CHAR, 2048, 0 );
  makeTableItem( EXCEPTION_NAME );
  EXCEPTION_TYPE.setField( "EXCEPTION_TYPE", DATA_CHAR, 6, 0 );
  makeTableItem( EXCEPTION_TYPE );
  EXCEPTION_TARGET.setField( "EXCEPTION_TARGET", DATA_CHAR, 2048, 0 );
  makeTableItem( EXCEPTION_TARGET );
  OTHER_DES.setField( "OTHER_DES", DATA_CHAR, 2048, 0 );
  makeTableItem( OTHER_DES );
  OTHER_DES_DOC.setField( "OTHER_DES_DOC", DATA_CHAR, 1024, 0 );
  makeTableItem( OTHER_DES_DOC );
  APP_ID.setField( "APP_ID", DATA_CHAR, 30, 0 );
  makeTableItem( APP_ID );
  APP_STATE.setField( "APP_STATE", DATA_CHAR, 30, 0 );
  makeTableItem( APP_STATE );
}


CTable_PPM_PROD_OPERATE_FLOW_HIS::CTable_PPM_PROD_OPERATE_FLOW_HIS( NPConnection& pcldb )
 :NPCRecordSet( pcldb )
{
  setTableName( "PPM_PROD_OPERATE_FLOW_HIS" );
  prepareTable();
  prepareQuery();
 
  HIS_ID.setField( "HIS_ID", DATA_CHAR, 30, 0 );
  makeTableItem( HIS_ID );
  ID.setField( "ID", DATA_CHAR, 30, 0 );
  makeTableItem( ID );
  NAME.setField( "NAME", DATA_CHAR, 1024, 0 );
  makeTableItem( NAME );
  IS_NEW.setField( "IS_NEW", DATA_CHAR, 6, 0 );
  makeTableItem( IS_NEW );
  REMARK.setField( "REMARK", DATA_CHAR, 2048, 0 );
  makeTableItem( REMARK );
  TYPE.setField( "TYPE", DATA_CHAR, 6, 0 );
  makeTableItem( TYPE );
  PARAMETER.setField( "PARAMETER", DATA_CHAR, 2048, 0 );
  makeTableItem( PARAMETER );
  PARAMETER_DOC.setField( "PARAMETER_DOC", DATA_CHAR, 1024, 0 );
  makeTableItem( PARAMETER_DOC );
  SEND_RULE.setField( "SEND_RULE", DATA_CHAR, 2048, 0 );
  makeTableItem( SEND_RULE );
  SEND_RULE_DOC.setField( "SEND_RULE_DOC", DATA_CHAR, 1024, 0 );
  makeTableItem( SEND_RULE_DOC );
  DISTRIBUTE_RULE.setField( "DISTRIBUTE_RULE", DATA_CHAR, 2048, 0 );
  makeTableItem( DISTRIBUTE_RULE );
  DISTRIBUTE_RULE_DOC.setField( "DISTRIBUTE_RULE_DOC", DATA_CHAR, 1024, 0 );
  makeTableItem( DISTRIBUTE_RULE_DOC );
  PRINT_FLAG.setField( "PRINT_FLAG", DATA_CHAR, 6, 0 );
  makeTableItem( PRINT_FLAG );
  PRINT_DOC.setField( "PRINT_DOC", DATA_CHAR, 1024, 0 );
  makeTableItem( PRINT_DOC );
  FUNCTION.setField( "FUNCTION", DATA_CHAR, 1024, 0 );
  makeTableItem( FUNCTION );
  EXCEPTION_NAME.setField( "EXCEPTION_NAME", DATA_CHAR, 2048, 0 );
  makeTableItem( EXCEPTION_NAME );
  EXCEPTION_TYPE.setField( "EXCEPTION_TYPE", DATA_CHAR, 6, 0 );
  makeTableItem( EXCEPTION_TYPE );
  EXCEPTION_TARGET.setField( "EXCEPTION_TARGET", DATA_CHAR, 2048, 0 );
  makeTableItem( EXCEPTION_TARGET );
  OTHER_DES.setField( "OTHER_DES", DATA_CHAR, 2048, 0 );
  makeTableItem( OTHER_DES );
  OTHER_DES_DOC.setField( "OTHER_DES_DOC", DATA_CHAR, 1024, 0 );
  makeTableItem( OTHER_DES_DOC );
  APP_ID.setField( "APP_ID", DATA_CHAR, 30, 0 );
  makeTableItem( APP_ID );
  APP_STATE.setField( "APP_STATE", DATA_CHAR, 30, 0 );
  makeTableItem( APP_STATE );
}

CTable_PPM_PROD_OPERATE_FLOW_HIS::~CTable_PPM_PROD_OPERATE_FLOW_HIS( )
{
    close();
}

